﻿<?php

$product=$_GET['product'];
$A=new Products($product,$productname,$amount,$price,$category_id,$imageurl);
print("<h1>Списати товар <".$A->printProductName()."></h1>");

?>

<p>
<form name="product_free_form" method="post" action="">

<?php

$B=new Packaging($id,$product,$countpack,$count);
$B->showFree();

?>
    <input type="submit" name="submitfree" value="Списати"/>
</form>